<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@include file="/WEB-INF/views/commons/commons.jsp" %>

<script type="text/javascript" src="/static/js/system/Latentclientplan.js"></script>
</head>
<body>

<table id="latent_datagrid">
    <div id="latent_toolbar">

        <a class="easyui-linkbutton" iconCls="icon-edit" plain="true" data-cmd="edit">修改</a>
        <a class="easyui-linkbutton" iconCls="icon-redo" plain="true" data-cmd="resource">移入资源池</a>
        <a class="easyui-linkbutton" iconCls="icon-ok" plain="true" data-cmd="state">转正</a><br/>

        <span style="margin-left: 15px">时间:</span>
        <input  name="startTime" class="easyui-datebox" style="width: 110px"/>~
        <input  name="endTime" class="easyui-datebox" style="width: 110px"/>
        客户:
        <input  name="clientName" class="easyui-textbox" data-options="prompt:'客户'"/>
        负责人:
        <input  name="inputUserName" class="easyui-textbox" data-options="prompt:'负责人'"/>

        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="searchForm">搜索</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
    </div>
</table>
<div id="latent_dialog">
    <form id="latent_form" method="post">
        <input id="planId" type="hidden" name="id" />
        <table align="center">
            <tbody>
            <tr>
                <td>创建时间:</td>
                <td>
                    <input name="inputtime" data-options="prompt:'请输入创建时间'"class="easyui-datebox"/>
                </td>
            </tr>

            <tr>
                <td>跟进效果：</td>
                <td>
                    <input name="traceResult" class="easyui-combobox"
                           data-options="valueField:'value', textField:'text',
                               data:[{text:'佳', value:'1'},{text:'一般', value:'0'}], panelHeight:'auto'" />
                </td>
            </tr>
            <tr>
                <td>客户：</td>
                <td>
                    <input name="latentclient.id" class="easyui-combobox"
                           data-options="prompt:'请选择客户',url:'/latentClient/listAll.do', valueField:'id', textField:'name', panelHeight:'auto'"/>
                </td>
            </tr>
            <tr>
                <td>计划主题:</td>
                <td>
                    <input name="plansubject" class="easyui-textbox"  />
                </td>
            </tr>

            <tr>
                <td>实施方式:</td>
                <td>
                    <input name="resource.id" class="easyui-combobox"
                           data-options="prompt:'请选择来源',valueField:'id',textField:'name',
                               url:'/dictionary/listDetailsBySn.dso?sn=resource',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr>
                <td>备注：</td>
                <td>
                    <input name="remark" class="easyui-textbox"/>
                </td>
            </tr>
                <div id="form_btn" align="right">
                <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="save">保存</a>
                <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancel">取消</a>
                </div>

            </tbody>
        </table>
    </form>
</div>
</body>
</html>
